@color1: 'red';
@color2: green;
@boolean: boolean( 2 > 1);
@selectors: blue, green, red;
@list: range(1, 12, 1);
@width1: calc(50% + (25vh - 20px));
@width2: 25vh - 20px;  // vh（view height）视图高度的百分数

body {
  color: color(@color1);
  // background-color: if((2 < 1), @color2, color(@color1));
  // background-color: if((iscolor(@color2)), @color2, color(@color1));
  // background-color: if((boolean(2 < 1)), @color2, color(@color1));
  background-color: if((@boolean), @color2, color(@color1));
  width: @width2;
}

each(@selectors, {
  .sel-@{value} {
    a: b;
  }
});

each(@list, {
  .row-@{value} {
    width: round(8.3% * @value);
  }
})


